home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
trap13.arc
/
ROM13.ASM
< prev
next >
Wrap
Assembly Source File
|
1988-04-09
|
1KB
|
39 lines
name rom13
page 63,110
CODE segment
assume CS:CODE
rom13 proc near
org 100h ; .COM file
intoff equ (13h*4)+0 ; addr of BIOS vector
intseg equ (13h*4)+2 ;
start: push ds ; save DOS return word
xor ax,ax ; clear out ax
push ax ; for return
push ax ; and to zero ES
pop es
cli ; no interrupts while
mov word ptr es:[intoff],0EC59H ; storing
mov word ptr es:[intseg],0F000H ; vectors
sti ; interrupts Again
mov dx,offset ourmsg ; our msg
mov ah,9 ; output string
int 21h ; display
int 20h ; go home
rom13 endp
ourmsg: db 'INT 13H Vector reset to ROM BIOS - F000:EC59'
db '$'
CODE ends
end start